package com.neu.dao;

import java.sql.SQLException;

import com.neu.entity.TBUserRole;

/**
 * 
 * @author neustu
 *  封装用户的登录和注册功能
 */
public interface UserRoleDao {
	/**
	 *   注册方法:
	 */
	public boolean registerUsers(TBUserRole tr) throws SQLException;
	
	/**
	 * 登录方法
	 */
	public TBUserRole loginValidate(TBUserRole tr)throws SQLException;
}
